'use strict';

const BaseController = require('./base');

class BannerController extends BaseController {

  /**
   * 广场轮播图
   */
  async index() {
    const banners = await this.service.banner.get();
    this.ctx.helper.success({beans: banners});
  }

  async test() {
    console.log(67890)
  }

}

module.exports = BannerController;
